package com.csun.dsms.model.huang;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 固定资产投资分行业的数据
 */
@Data
@Table(name = "hg_fai_industrial_data")
public class HgFixedAssetIndustrialData implements Serializable {

    private static final long serialVersionUID = -72261617311113L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    @Column(name = "statistical_year")
    private Integer statisticalYear;

    @Column(name = "statistical_month")
    private Integer statisticalMonth;

    @Column(name = "area")
    private String area;

    @Column(name = "area_level")
    private Integer areaLevel;

    @Column(name = "industrial")
    private String industrial;

    @Column(name = "department")
    private String department;

    @Column(name = "growth_rate")
    private Double growthRate;

    @Column(name = "top_rate")
    private Double topRate;

    @Column(name = "growth_rate_ranking")
    private Integer growthRateRanking;

    @Column(name = "complete_rate")
    private Double completeRate;

    @Column(name = "complete_rate_ranking")
    private Integer completeRateRanking;

    @Column(name = "entry_department")
    private String entryDepartment;

    @Column(name = "creator")
    private String creator;

    @Column(name = "approved")
    private Integer approved;

    @Column(name = "approval")
    private String approval;

    @Column(name = "created_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;


}